import{d as _,l as g,V as b,a as n,o as f,b as h,w as m,q as c,W as V,e as a,m as v,f as p}from"./index-c80Lh_is.js";import{N as x}from"./NavTabs-Gqjwuy8q.js";const C=_({__name:"DelegatedGatewayDetailTabsView",setup(y){var d;const{t:r}=g(),w=(((d=b().getRoutes().find(t=>t.name==="delegated-gateway-detail-tabs-view"))==null?void 0:d.children)??[]).map(t=>{var o,e;const i=typeof t.name>"u"?(o=t.children)==null?void 0:o[0]:t,s=i.name,l=((e=i.meta)==null?void 0:e.module)??"";return{title:r(`delegated-gateways.routes.item.navigation.${s}`),routeName:s,module:l}});return(t,i)=>{const s=n("RouteTitle"),l=n("RouterView"),u=n("AppView"),o=n("RouteView");return f(),h(o,{name:"delegated-gateway-detail-tabs-view",params:{mesh:"",service:""}},{default:m(({route:e})=>[a(u,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:"delegated-gateway-list-view",params:{mesh:e.params.mesh}},text:c(r)("delegated-gateways.routes.item.breadcrumbs")}]},{title:m(()=>[v("h1",null,[a(V,{text:e.params.service},{default:m(()=>[a(s,{title:c(r)("delegated-gateways.routes.item.title",{name:e.params.service})},null,8,["title"])]),_:2},1032,["text"])])]),default:m(()=>[p(),a(x,{tabs:c(w)},null,8,["tabs"]),p(),a(l)]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{C as default};
